package com.jsh.erp.datasource.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author gonge
 */
@TableName("jony_examine_item")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExamineItem implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;  // 质检单明细id

    @TableField("material_id")
    private Long materialId;  // 物料id

    @TableField("examine_quantity")
    private Long examineQuantity;  // 校验数量

    @TableField("unqualified_quantity")
    private Long unqualifiedQuantity;  // 不合格数量

    @TableField("remark")
    private String remark;  // 不合格描述

    @TableField("examine_id")
    private Long examineId;  // 主表id

    @TableField("original_number")
    private Long originalNumber;  //原数量

    @TableField("bygone_number")
    private Long bygoneNumber;  // 已检验数量
}

